package top.jsjkxyjs.blackbox.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import top.jsjkxyjs.blackbox.entity.Iot;

import java.util.List;

public interface IotMapper extends BaseMapper<Iot> {

	List<Iot> getUserIotDataLimit(int devId, String type);

	List<Iot> getIotDatasBtDevId(int devId);

	int getIotBindCase(int devId);

	int getIotDevCase(int devId);

	int countUserIotData(int devId);

	Iot getIotInfo();

	int setIotState(Iot iot);

	int getiotsDatasNumber();
}
